package com.ljh.mapper;

import com.ljh.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 刘剑鸿
 * @since 2021-09-08
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where mobileNumber = #{mobile}")
    public User selectMobile(@Param("mobile") long mobile);
}
